package com.iotechn.unimall.data.dto.order;

import com.iotechn.unimall.data.domain.OrderSkuDO;
import com.iotechn.unimall.data.domain.StoreDO;
import com.iotechn.unimall.data.dto.SuperDTO;
import com.iotechn.unimall.data.dto.freight.ShipTraceDTO;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created by rize on 2019/7/6.
 */
@Data
public class OrderDTO extends SuperDTO {
    private Long orderId;

    /**
     * 用户下单渠道
     */
    private String channel;

    private String orderNo;

    private Float discount;

    private Long userId;

    private String userPhone;

    private Integer status;

    private Integer skuOriginalTotalPrice;
    /**
     * 商品总价
     */
    private Integer skuTotalPrice;

    private Integer freightPrice;

    private Integer couponPrice;

    private Long couponId;

    /**
     * 计算优惠后，实际需要支付的价格
     */
    private Integer actualPrice;

    private Integer payPrice;

    private Integer deductionPrice;
    /**
     * 支付流水号 (第三方)
     */
    private String payId;

    /**
     * 第三方支付渠道
     */
    private String payChannel;

    private Date gmtPay;

    private String shipNo;

    /**
     * 承运商
     */
    private String shipCode;

    private String province;

    private String city;

    private String county;

    private String address;
    //province+city+country
    private String area;

    private String phone;

    private String consignee;

    private String mono;

    private Integer adminMonoLevel;

    private String adminMono;
private String orderRefundNo;
    private String refundReason;

    private Integer refundPrice;

    private Date gmtShip;

    /**
     * 确实收货时间
     */
    private Date gmtConfirm;

    private List<OrderSkuDO> skuList;

    private ShipTraceDTO shipTraceDTO;

    /*
   团长id
    */
    private Long colonelId;
    /*
      门店id
     */
    private Long storeId;

    private String storeName;
    /**
     * 订单佣金(order-sku中获取)
     */
    private Integer colonelMoney;


    private String strGmtCreate;
    /**
     * 0线上 1线下
     */
    private Integer isOnline;


    private Integer sonStatus;


    /**
     * 用户给收银员递过来多少钱
     */
    private Integer paymentPrice;
    /**
     * 找零多少钱
     */
    private Integer changePrice;

    /**
     * 取货码
     */
    private String getCode;

    /**
     * 取货时间
     */
    private Date getTime;
    /**
     * 派送 / 自提
     */
    private Integer buyType;
    /**
     * 订单类型
     */
    private Integer orderType;
    /**
     * 订单积分
     */
    private Integer intergal;
    /**
     * 门店数据
     */
    private  StoreDO storeDO;
    /**
     * 抹零
     */
    private Integer smallPrice;
    /**
     * 卡号
     */
    private String cardNo;
}
